/*
 * BattleMasterServer.cpp
 *
 *  Created on: Nov 12, 2011
 *      Author: gonzalo
 */

#include "BattleMasterServer.h"
#include "../persistencia/Persistor.h"

BattleMasterServer::BattleMasterServer(std::string scenarioName) : BattleMasterGame(SERVER_OWN) {
	this->scenarioName = scenarioName;
}

BattleMasterServer::~BattleMasterServer() {
}

std::string BattleMasterServer::getBackgroundPath(){
	return Persistor::getBackground(this->scenarioName);
}

std::list<ScenarioElement*> BattleMasterServer::getElements(){
	return Persistor::getScenarioElements(this->scenarioName);
}


